FROM apache/skywalking-java-agent:8.6.0-jdk11
EXPOSE 8080
ENV TZ Asia/Shanghai
RUN rm /skywalking/agent/plugins/apm-springmvc-annotation-3*.*
RUN rm /skywalking/agent/plugins/apm-springmvc-annotation-4*.*
RUN rm /skywalking/agent/plugins/apm-springmvc-annotation-5*.*
RUN rm /skywalking/agent/plugins/apm-mysql-5*.*
RUN rm /skywalking/agent/plugins/apm-mysql-6*.*
COPY target/*.jar /app.jar
ENTRYPOINT ["java","-jar","/app.jar"]

